<script>
  document.getElementById('demo').onclick = function () {
    console.log('单击');
  };
</script>
<div id="demo">测试</div>
<p>
  <a href="file:///C:/Users/rise/Desktop/%E9%A6%96%E9%A1%B5/default/08.html">返回</a>
</p>